.class public Lcom/waiqin365/lightwork/tracker/u;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# static fields
.field public static b:I


# instance fields
.field public a:I

.field public c:I

.field public d:Lcom/waiqin365/lightapp/view/NoNetView;

.field e:Landroid/os/Handler;

.field private f:Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;

.field private g:Landroid/view/LayoutInflater;

.field private h:Landroid/view/View;

.field private i:Landroid/widget/PopupWindow;

.field private j:Landroid/widget/ListView;

.field private k:Landroid/widget/LinearLayout;

.field private l:Lcom/waiqin365/lightwork/tracker/model/p;

.field private m:Lcom/waiqin365/lightwork/tracker/model/o;

.field private n:Ljava/lang/String;

.field private o:Ljava/lang/String;

.field private p:Z


# direct methods
.method static constructor <clinit>()V
    .locals 1

    const/16 v0, 0x16d

    sput v0, Lcom/waiqin365/lightwork/tracker/u;->b:I

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Z)V
    .locals 5

    const/4 v4, -0x1

    const/4 v3, 0x1

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/u;->n:Ljava/lang/String;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/u;->o:Ljava/lang/String;

    iput-boolean v3, p0, Lcom/waiqin365/lightwork/tracker/u;->p:Z

    iput v3, p0, Lcom/waiqin365/lightwork/tracker/u;->a:I

    const/4 v0, 0x0

    iput v0, p0, Lcom/waiqin365/lightwork/tracker/u;->c:I

    new-instance v0, Lcom/waiqin365/lightwork/tracker/w;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightwork/tracker/w;-><init>(Lcom/waiqin365/lightwork/tracker/u;)V

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/u;->e:Landroid/os/Handler;

    move-object v0, p1

    check-cast v0, Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/u;->f:Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;

    iput-object p2, p0, Lcom/waiqin365/lightwork/tracker/u;->n:Ljava/lang/String;

    iput-object p3, p0, Lcom/waiqin365/lightwork/tracker/u;->o:Ljava/lang/String;

    iput-boolean p4, p0, Lcom/waiqin365/lightwork/tracker/u;->p:Z

    const-string/jumbo v0, "layout_inflater"

    invoke-virtual {p1, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/LayoutInflater;

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/u;->g:Landroid/view/LayoutInflater;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/u;->g:Landroid/view/LayoutInflater;

    const v1, 0x7f030263

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/u;->h:Landroid/view/View;

    new-instance v0, Landroid/widget/PopupWindow;

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/u;->h:Landroid/view/View;

    invoke-direct {v0, v1, v4, v4}, Landroid/widget/PopupWindow;-><init>(Landroid/view/View;II)V

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/u;->i:Landroid/widget/PopupWindow;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/u;->i:Landroid/widget/PopupWindow;

    invoke-virtual {v0, v3}, Landroid/widget/PopupWindow;->setFocusable(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/u;->i:Landroid/widget/PopupWindow;

    invoke-virtual {v0, v3}, Landroid/widget/PopupWindow;->setTouchable(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/u;->i:Landroid/widget/PopupWindow;

    invoke-virtual {v0, v3}, Landroid/widget/PopupWindow;->setOutsideTouchable(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/u;->i:Landroid/widget/PopupWindow;

    const v1, 0x7f0d0001

    invoke-virtual {v0, v1}, Landroid/widget/PopupWindow;->setAnimationStyle(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/u;->i:Landroid/widget/PopupWindow;

    new-instance v1, Landroid/graphics/drawable/BitmapDrawable;

    invoke-direct {v1}, Landroid/graphics/drawable/BitmapDrawable;-><init>()V

    invoke-virtual {v0, v1}, Landroid/widget/PopupWindow;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    invoke-direct {p0}, Lcom/waiqin365/lightwork/tracker/u;->e()V

    invoke-static {}, Lcom/waiqin365/lightwork/tracker/model/o;->a()Lcom/waiqin365/lightwork/tracker/model/o;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/u;->m:Lcom/waiqin365/lightwork/tracker/model/o;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightwork/tracker/u;)Lcom/waiqin365/lightwork/tracker/model/o;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/u;->m:Lcom/waiqin365/lightwork/tracker/model/o;

    return-object v0
.end method

.method private a(Ljava/lang/String;IILjava/lang/String;)V
    .locals 5

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/u;->f:Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/util/HashMap;

    const/4 v2, 0x4

    invoke-direct {v1, v2}, Ljava/util/HashMap;-><init>(I)V

    const-string/jumbo v2, "qdate"

    invoke-virtual {v1, v2, p1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v2, "page"

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string/jumbo v4, ""

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v2, "rows"

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, p3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string/jumbo v4, ""

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v2, "uid"

    invoke-virtual {v1, v2, p4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    new-instance v2, Lcom/waiqin365/lightwork/tracker/b/d;

    invoke-direct {v2, v0, v1}, Lcom/waiqin365/lightwork/tracker/b/d;-><init>(Ljava/lang/String;Ljava/util/HashMap;)V

    new-instance v0, Lcom/waiqin365/lightwork/tracker/b/i;

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/u;->e:Landroid/os/Handler;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightwork/tracker/b/i;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightwork/tracker/b/j;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/tracker/b/i;->start()V

    return-void
.end method

.method static synthetic b(Lcom/waiqin365/lightwork/tracker/u;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/u;->n:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic c(Lcom/waiqin365/lightwork/tracker/u;)Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/u;->f:Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;

    return-object v0
.end method

.method static synthetic d(Lcom/waiqin365/lightwork/tracker/u;)Landroid/widget/PopupWindow;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/u;->i:Landroid/widget/PopupWindow;

    return-object v0
.end method

.method static synthetic e(Lcom/waiqin365/lightwork/tracker/u;)Landroid/widget/ListView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/u;->j:Landroid/widget/ListView;

    return-object v0
.end method

.method private e()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/u;->h:Landroid/view/View;

    const v1, 0x7f0c0ba9

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ListView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/u;->j:Landroid/widget/ListView;

    new-instance v0, Lcom/waiqin365/lightwork/tracker/model/p;

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/u;->f:Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;

    invoke-direct {v0, v1}, Lcom/waiqin365/lightwork/tracker/model/p;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/u;->l:Lcom/waiqin365/lightwork/tracker/model/p;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/u;->j:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/u;->l:Lcom/waiqin365/lightwork/tracker/model/p;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/u;->j:Landroid/widget/ListView;

    new-instance v1, Lcom/waiqin365/lightwork/tracker/v;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightwork/tracker/v;-><init>(Lcom/waiqin365/lightwork/tracker/u;)V

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/u;->h:Landroid/view/View;

    const v1, 0x7f0c00cb

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/NoNetView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/u;->d:Lcom/waiqin365/lightapp/view/NoNetView;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/u;->d:Lcom/waiqin365/lightapp/view/NoNetView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/NoNetView;->a()V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/u;->h:Landroid/view/View;

    const v1, 0x7f0c0ba8

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/u;->k:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/u;->k:Landroid/widget/LinearLayout;

    invoke-virtual {v0, p0}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method static synthetic f(Lcom/waiqin365/lightwork/tracker/u;)Lcom/waiqin365/lightwork/tracker/model/p;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/u;->l:Lcom/waiqin365/lightwork/tracker/model/p;

    return-object v0
.end method


# virtual methods
.method public a()V
    .locals 4

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/u;->m:Lcom/waiqin365/lightwork/tracker/model/o;

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/tracker/model/o;->c()V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/u;->f:Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;->showProgressDialog(Ljava/lang/String;)V

    const-string/jumbo v0, ""

    iget v1, p0, Lcom/waiqin365/lightwork/tracker/u;->a:I

    sget v2, Lcom/waiqin365/lightwork/tracker/u;->b:I

    iget-object v3, p0, Lcom/waiqin365/lightwork/tracker/u;->n:Ljava/lang/String;

    invoke-direct {p0, v0, v1, v2, v3}, Lcom/waiqin365/lightwork/tracker/u;->a(Ljava/lang/String;IILjava/lang/String;)V

    return-void
.end method

.method public a(Landroid/view/View;)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/u;->i:Landroid/widget/PopupWindow;

    invoke-virtual {v0, p1}, Landroid/widget/PopupWindow;->showAsDropDown(Landroid/view/View;)V

    return-void
.end method

.method public b()V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/u;->l:Lcom/waiqin365/lightwork/tracker/model/p;

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/tracker/model/p;->a()V

    return-void
.end method

.method public c()Z
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/u;->i:Landroid/widget/PopupWindow;

    invoke-virtual {v0}, Landroid/widget/PopupWindow;->isShowing()Z

    move-result v0

    return v0
.end method

.method public d()Landroid/widget/PopupWindow;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/u;->i:Landroid/widget/PopupWindow;

    return-object v0
.end method

.method public onClick(Landroid/view/View;)V
    .locals 1

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    :goto_0
    return-void

    :pswitch_0
    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/u;->i:Landroid/widget/PopupWindow;

    invoke-virtual {v0}, Landroid/widget/PopupWindow;->dismiss()V

    goto :goto_0

    :pswitch_data_0
    .packed-switch 0x7f0c0ba8
        :pswitch_0
    .end packed-switch
.end method
